tests/prune: Ensure /boot is big enough for 3 bootdata
authorColin Walters <walters@verbum.org>
Wed, 30 Apr 2025 12:30:05 +0000 (08:30 -0400)
committerColin Walters <walters@verbum.org>
Wed, 30 Apr 2025 12:30:05 +0000 (08:30 -0400)
commit40e6606e97a54415d3ec194d2af5dd024faf380c
tree75620402b309acc7e2e2ac5037822ace64098a4f
parent320cd9f8f9a7c3171cbf53c2e0dfbb1f23679545
tests/prune: Ensure /boot is big enough for 3 bootdata

The size of kernel+initramfs (bootdata) for FCOS has crept up
enough that it's *always* triggering this path, which perturbs
the test into incorrectly triggering early prune.

If we detect that /boot is too small, allocate a new loopback-mounted
copy.
tests/kolainst/destructive/auto-prune.sh